package com.bbs.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bbs.po.Response;

public interface ResponseMapper {
  
	public int selectByTopicid(@Param("topicid") int topicid);
	
	public Date getUpdatetime(@Param("topicid") int topicid);
	
	public List<Response> getAllResponse(@Param("topicid") int topicid,@Param("pagestar") int pagestar,@Param("pageend") int pageend);
	
	public int saveResponse(Response response);
}
